﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.Repositories.Models
{

    public class UserFocusedConfirmedOrder
    {

        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string UserFocusedOrderId { get; set; }

        public string ConfirmedOrderId { get; set; }

        public string UserId { get; set; }

        public virtual ConfirmedOrder ConfirmedOrder { get; set; }

        public virtual ApplicationUser User { get; set; }

        public UserFocusedConfirmedOrder()
        {
            this.UserFocusedOrderId = Guid.NewGuid().ToString();
        }

    }

}